package com.tbit.uqbike.service.business;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tbit.uqbike.object.pojo.BrandDiscountConfig;
import com.tbit.uqbike.object.pojo.dto.BrandDiscountConfigDTO;
import com.tbit.common.entity.view.Result;

import java.util.List;

/**
 * @Author:BUGTian
 * @DATE: 2022/9/21
 */
public interface BrandDiscountConfigService extends IService<BrandDiscountConfig> {
    /**
     * 新增
     *
     * @param brandDiscountConfigDTO
     * @return
     */
    Result insert(BrandDiscountConfigDTO brandDiscountConfigDTO);

    /**
     * 删除
     *
     * @param configId
     * @return
     */
    Result delete(Integer configId);

    /**
     * 获取所有
     *
     * @return
     */
    List<BrandDiscountConfig> getAll();
}
